<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <!-- 引入文件 -->
  <script th:src="@{/lib/jquery/jquery-3.2.1.min.js}"></script>
  <script th:src="@{/lib/bootstrap/bootstrap.min.js}"></script>
  <link rel="stylesheet" th:href="@{/lib/bootstrap/bootstrap.min.css}">
  <link rel="stylesheet" th:href="@{/lib/md-fonts/css/materialdesignicons.min.css}">
  <link rel="stylesheet" th:href="@{/lib/normalize/normalize.css}">
  <!-- xyz组件 -->
  <link rel="stylesheet" th:href="@{/lib/xyz_tpl/topbar/topbar.css}">
  <script th:src="@{/lib/xyz_tpl/topbar/topbar.js}"></script>
  <link rel="stylesheet" th:href="@{/lib/xyz_tpl/top_btn/top_btn.css}">
  <script th:src="@{/lib/xyz_tpl/top_btn/top_btn.js}"></script>
  <!-- 私有 -->
  <link rel="stylesheet" href="./multiple.css">
  <script src="./multiple.js"></script>
  <title>单人需求</title>
  <style>
    #topbar{
      background-image: linear-gradient(120deg, #007bff 0%, #1f89fa 100%) !important;
    }
    #topbar .navbar-toggler{
      color: white !important;
    }
    #top_btn{
      background: #007bff;
      color: white;
    }
    #navbarDropdown, #topbar .title, #topbar .nav_btn, #topbar .name{
      color: white !important;
    }
  </style>
</head>

<body>

<!-- Topbar -->
<nav th:replace="header :: copy"></nav>
<!-- TopBar -->

  <div class="container" id="main">
    <!-- 众包板块 -->
    <div class="jumbotron jumbotron-fluid">
      <div class="container">
        <h1 class="display-5"><i class="mdi mdi-account-group"></i> 众包</h1>
        <hr>
        <p class="lead">在下面这个单元分类里，你可以找到关于“众包”的内容。在这里你可以接到来自社会各地的众包任务，人多力量大，参与到一个大型的项目中，最终获得自己相应的收益。</p>
        <a href="/sm/index" role="button" class="btn btn-light">返回首页</a>
      </div>
    </div>
    <!-- 信息浏览（渲染单人需求相关的） -->
    <div class="row demand" th:each="need:${list}">
      <div class="col-12">
        <div class="card">
          <h5 class="card-header">分类：众包</h5>
          <div class="card-body">
            <h4 class="card-title">[[${need.title}]]</h4>
            <hr>
            <p class="card-text">[[${need.xyzDesc}]]</p>
            <a th:href="@{'/sm/'+${need.id}}" class="btn btn-primary">查看详情</a>
          </div>
        </div>
      </div>
    </div>
    <!-- 信息浏览 -->
  </div>

  <!-- 分页 -->
 <!-- <nav aria-label="Page navigation" id="page">
    <ul class="pagination justify-content-center">
      <li class="page-item">
        <a class="page-link" href="#" aria-label="Previous">
          <span aria-hidden="true">&laquo;</span>
          <span class="sr-only">Previous</span>
        </a>
      </li>
      <li class="page-item active"><a class="page-link" href="#">1</a></li>
      <li class="page-item"><a class="page-link" href="#">2</a></li>
      <li class="page-item"><a class="page-link" href="#">3</a></li>
      <li class="page-item">
        <a class="page-link" href="#" aria-label="Next">
          <span aria-hidden="true">&raquo;</span>
          <span class="sr-only">Next</span>
        </a>
      </li>
    </ul>
  </nav>-->

</body>

</html>